package cn.iocoder.yudao.module.system.controller.admin.cylinderinfo.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 钢瓶信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CylinderInfoPageReqVO extends PageParam {

    @Schema(description = "编码对外展示")
    private String code;

    @Schema(description = "钢瓶二维码")
    private String barcode;

    @Schema(description = "溯源二维码")
    private String qrcode;

    @Schema(description = "钢瓶编码")
    private String cylinderCode;

    @Schema(description = "芯片编码")
    private String coreCode;

    @Schema(description = "芯片类型", example = "1")
    private Integer coreType;

    @Schema(description = "注册编码")
    private String registrationCode;

    @Schema(description = "建档站点", example = "28334")
    private Long createStationId;

    @Schema(description = "最后一次检查时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] lastCheckTime;

    @Schema(description = "下次检查时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] nextCheckTime;

    @Schema(description = "钢瓶类型id", example = "28783")
    private Long typeId;

    @Schema(description = "使用时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] useTime;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "计划报废时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] expecteInvalidTime;

    @Schema(description = "工厂编码")
    private String factoryCode;

    @Schema(description = "生产厂家", example = "王五")
    private String factoryName;

    @Schema(description = "生产时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] factrueTime;

    @Schema(description = "第一次充气时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] firstAerateTime;

    @Schema(description = "最后一次充装时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] lastAerateTime;

    @Schema(description = "充装次数", example = "12398")
    private Integer aerateCount;

    @Schema(description = "充装介质编码")
    private String fillMediumCode;

    @Schema(description = "填充介质")
    private String fillMedium;

    @Schema(description = "皮重")
    private Short tare;

    @Schema(description = "使用年限")
    private Integer useYear;

    @Schema(description = "强制检查周期")
    private Integer checkCycle;

    @Schema(description = "最后位置")
    private String lastPosition;

    @Schema(description = "最近一次检测机构编码")
    private String recentCheckStationCode;

    @Schema(description = "最近一次检测机构名称", example = "李四")
    private String recentCheckStationName;

    @Schema(description = "出租检查批次")
    private String recentCheckBatchCode;

    @Schema(description = "持有id", example = "22625")
    private Long ownerId;

    @Schema(description = "持有类型0配送人 1 门店 2 气站", example = "1")
    private Integer ownerType;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "更新人")
    private String updater;

}